import { REDIRECT_ROUTE_NAME } from "@/router/constants";

export const DEFAULT_LAYOUT = () => import("@/layout/default-layout.vue");

export const REDIRECT_MAIN = {
  path: "/redirect",
  name: "redirectWrapper",
  component: DEFAULT_LAYOUT,
  children: [
    {
      path: "/redirect/:path",
      name: REDIRECT_ROUTE_NAME,
      component: () => import("@/views/redirect/index.vue"),
    },
  ],
};

export const NOT_FOUND_ROUTE = {
  path: "*",
  name: "notFound",
  component: () => import("@/views/not-found/index.vue"),
};
